package com.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.product.entity.CategoryEntity;

import java.util.List;

public interface CategoryService extends IService<CategoryEntity> {

    List<CategoryEntity> listWithTree();

    void removeMenuByIds(List<Long> idList);

    /**
     * 找到catelogId的完整路径；
     * [父/子/孙]
     */
    List<Long> findCatelogPath(Long catelogId);
}

